package com.grq.mis.dao;

import com.grq.mis.entity.Permission;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.Sql;
import org.beetl.sql.mapper.annotation.SqlResource;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
* 
* gen by beetlsql3 mapper 2021-11-21
*/
@SqlResource("permission")
@Repository
public interface PermissionDao extends BaseMapper<Permission> {

    @Sql(value = "select code from t_permission")
    List<String> findAllCode();
	
}
